//
//  DWHomeADModel.swift
//  DWSwift
//
//  Created by GDL on 2025/6/23.
//

import Foundation
import SwiftUI

// MARK: - Entry

// MARK: - Entry
struct DWHomeAdModel: Decodable {
    let list: [DWHomeAdModelItem]
    let isActive: Bool
    
    //替换自定义键值名
     enum CodingKeys: String, CodingKey {
         case list,isActive
     }
}

struct DWHomeAdModelItem: Decodable {
    let imageURL: String
    let id: Int
    
    //替换自定义键值名
     enum CodingKeys: String, CodingKey {
         case id
         case imageURL = "image"
     }
}








